import { request } from './request'
import { LoginParams } from '../interface/user'

export const apiLogin = (data: LoginParams) => request('post', '/user/login', data)